package com.bjb.vr.common.constant;

/**
 * @author hujingbo
 * @version 1.0.0
 * @Description 验证码常量类
 * @createTime 2022年03月07日 15:43
 */
public class CaptchaConstants {

    /**
     * 验证码Redis-key
     */
    public static final String CAPTCHA_KEY = "captchaKey";
    /**
     * 验证码Redis-value
     */
    public static final String CAPTCHA_VALUE = "captchaValue";
    /**
     * 验证码自定义标识
     */
    public static final String CAPTCHA_IMAGE = "captchaImage";
    /**
     * 验证码缓存前缀
     */
    public final static String LOGIN_CAPTCHA_KEY = "login_captcha:";
    /**
     * 缓存有效期，默认1（分钟）
     */
    public final static long EXPIRATION = 5;
}
